
.container {
    display: flex;
    justify-content: space-between;
}
.container-end {
    display: flex;
    justify-content: flex-end;
}

.wrapper {
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start;
    height: 100%;
}

/* 顶部 */
.top {
    height: 44px;
    border-bottom: 1px solid gray;
    flex-shrink: 0;
    flex-grow: 0;
}
.btn-back {
    font-size: 16px;
    line-height: 44px;
    margin-left: 15px;
    display: flex;
    align-items: center;
}
.btn-back  img {
    height: 17px;
    width: 10px;
}
.btn-back  span {
    padding-left: 5px; 
}

.btn-time-select {
    line-height: 44px;
    font-size: 12px;
    margin-right: 15px;
    background-image: url('../img/icon_nav.png');
    background-repeat: no-repeat;
    background-position: 100% 50%;
    background-size: 12px 7px;
    padding-right: 15px;
}

/* 复选项 */
.selection {
    margin: 13px 11px;
    height: 60px;
    flex-shrink: 0;
    flex-grow: 0;
}
.option {
    width: 110px;
    height: 60px;
    border: 1px solid #C7D6F6;
    border-radius: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.option .text {
    text-align: left;
    top: 20%;
    left: 10%;
    flex-grow: 1;
    flex-shrink: 1;
    margin-left: 10px;
}
.option input {
    flex: auto;
}

.magic-checkbox {
    position: relative;
    display: none;
}

.magic-checkbox + label {
    position: relative;
    display: block;
    padding-left: 25px;
    cursor: pointer;
    vertical-align: middle;
}

.magic-checkbox + label::after {
    background-color: #ffffff;
}
.magic-checkbox + label:before {
    position: absolute;
    display: inline-block;
    top: 0;
    left: 0;
    margin-top: -10px;
    width: 17px;
    height: 17px;
    content: '';
    border: 1px solid #C4C4C4;
    border-radius: 2px;
}

.magic-checkbox:checked + label::after {
    position: absolute;
    display: block;
    box-sizing: border-box;
    content: '';
    top: 2px;
    left: 6px;
    margin-top: -10px;
    width: 6px;
    height: 10px;
    transform: rotate(45deg);
    border-width: 2px;
    border-style: solid;
    border-color: #2B58A7;
    border-top: 0;
    border-left: 0; 
}

.magic-checkbox:checked + label:before {  /*用before来模拟选框的框*/
    position: absolute;
    display: inline-block;
    top: 0;
    left: 0;
    margin-top: -10px;
    width: 17px;
    height: 17px;
    content: '';
    background-color: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 2px;
}

/* 选中状态 */
div.option-color {
    background-color: #2B58A7;
    color: #ffffff;
}

div.option-color div {
    background-color: #2B58A7;
    color: #ffffff;
}

div.option-color span {
    background-color: #2B58A7;
    color: #ffffff;
}

/* 列表 */
.list-container {
    margin: 0 11px 9px 11px;
    height: 500px;
    overflow: auto;
    /* flex-basis: auto; */
    flex-grow: 1;
    flex-shrink: 1;
}

.list-item{
    margin: 5px;
    font-size: 14px;
}

span.date {
    font-size: 13px;
}
.icon {
    width: 6px;
    height: 6px;
    margin: 2px auto;
    border-radius: 50%;
    background-color: #3A3A3A;
    display:inline-block;
}

.item {
    margin: 10px 0;
    border: 1px solid #C7D6F6;
    box-shadow: 0 0 1px #C7D6F6; 
    padding: 22px 11px;
    color: #3A3A3A;
    font-weight: 500;
    border-radius: 3px;
    align-items: flex-start;
}

.dark {
    background-color: #DDE2F0;
}
.dark div{
    background-color: #DDE2F0;
}

.des {
    align-items: center;
    margin: auto;
    margin-top: 0;
    width:80px;
}

.des-title {
    text-align: left;
}
.des-date {
    font-size: 10px;
    line-height: 14px;
    color: #C4C4C4;
    margin-left: 18px;
    margin-top: 2px;
}
.des-detail{
    width:100px;
    margin: auto;
    text-align: right;
}
.item2 .detail-2 {
    display: none;
}
.item2 .coupon {
    display: block;
}
.item3 .detail-2 {
    display: none;
}
.item .show {
    display: block;
    background-image: url('../img/time.png');
    background-size: 75% 100%;
    background-repeat: no-repeat;
    background-position: 80% 50%;
    width: 20px;
    height: 15px;
    flex: none;
}

.item-total {
    color: #C4C4C4;
}
.item-total .blank {
    width: 20px;
}

/* 日期选择面板 */
.date-list-panel {
    background-color: #C4C4C4;
    height: 230px;
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start;
    border-top: 1px solid gray;
    /* display: none; */
}
/* 按钮 */
.date-btns {
    display: flex;
    justify-content: space-between;
    font-size: 17px;
    border-bottom: 1px solid #C4C4C4;
    flex-shrink: 0;
    flex-grow: 0;
}

.date-btn {
    margin: 8px 10px 8px 10px;
}

.btn-sure {
    color: #2B58A7;
}

/* 日期 */
.date-container {
    display: flex;
    height: 200px;
    overflow: auto;
    flex-flow: auto;
    font-size: 17px;
}

.ul-column {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    flex-shrink: 1;
    align-items: center;
    overflow: auto;
}

.date-container li {
    margin: 5px;
}

.date-container .blank {
    display: block;
    /* height: 19x; */
    width: 5px;
    color: #ffffff;
}
.select-frame {
    align-self: center;
    position: relative;
}

.select-frame-1::after {
    position: absolute;
    content: '';
    display: block;
    width: 375px;
    overflow: hidden;
    height: 30px;
    border-top: 1px solid #CDCDCD;
    border-bottom: 1px solid #CDCDCD;
    top: 0;
    left: 12px;
    margin-top: -4px;
}

/* .select-frame-1::before {
    position: absolute;
    content: '';
    display: block;
    width: 375px;
    height: 85px;
    background-color: #CDCDCD;
    opacity: 0.5;
    border-top: 1px solid #CDCDCD;
    border-bottom: 1px solid #CDCDCD;
    top: -85px;
    left: 0;
    margin-top: -4px;
} */

.select-frame-2::after {
    position: absolute;
    content: '';
    display: block;
    width: 375px;
    overflow: hidden;
    height: 30px;
    border-top: 1px solid #CDCDCD;
    border-bottom: 1px solid #CDCDCD;
    top: 0;
    left: -375px;
    margin-top: -4px;
}

.btn-picker {
    position: absolute;
    display: none;
    /* opacity: 0; */
}

.btn-picker + label::after {
    background-color: #ffffff;
}
.btn-picker + label:before {
    position: absolute;
    display: inline-block;
    top: 0;
    left: 0;
    margin-top: -1px;
    margin-left: 26px;
    width: 14px;
    height: 14px;
    content: '';
    border: 1px solid #C4C4C4;
    border-radius: 2px;
}

.btn-picker:checked + label::after {
    position: absolute;
    display: block;
    box-sizing: border-box;
    content: '';
    top: 2px;
    left: 6px;
    margin-top: -2px;
    margin-left: 24px;
    width: 6px;
    height: 10px;
    transform: rotate(45deg);
    border-width: 2px;
    border-style: solid;
    border-color: #2B58A7;
    border-top: 0;
    border-left: 0; 
}

.btn-picker:checked + label:before {  /*用before来模拟选框的框*/
    position: absolute;
    display: inline-block;
    top: 0;
    left: 0;
    margin-top: -1px;
    margin-left: 26px;
    width: 14px;
    height: 14px;
    content: '';
    background-color: #ffffff;
    border: 1px solid #2B58A7;
    border-radius: 2px;
}